package com.changgou;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author 1
 * @data 2022/1/9
 */
//(exclude = DataSourceAutoConfiguration.class)排除数据源的自动配置类 表示不配置数据源
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableEurekaClient//eureka客户端启动
public class FileApplication {
    public static void main(String[] args) {
        SpringApplication.run(FileApplication.class,args);
    }
}
